package com.example.testdemo.kstatic.sprite;

import org.andengine.entity.sprite.Sprite;
import org.andengine.opengl.texture.region.ITextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

public class ItemSprite extends Sprite {

	public static final int TYPE_DEFENCE = 1;
	public static final int TYPE_GHOST = 2;
	public static final int TYPE_LIFE = 3;
	public static final int TYPE_SPEED = 4;

	private int mItemType = 0;

	public ItemSprite(float pX, float pY, ITextureRegion pTextureRegion,
	        VertexBufferObjectManager pVertexBufferObjectManager) {
		super(pX, pY, pTextureRegion, pVertexBufferObjectManager);
		setIgnoreUpdate(true);
		setCullingEnabled(true);
	}

	public int getItemType() {
		return mItemType;
	}

	public void setItemType(int itemType) {
		mItemType = itemType;
	}
}
